]> dgit.raspbian.org Git - gnome-shell.git/commit
environment: Ignore animation events after shutdown
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Fri, 5 Dec 2025 22:14:29 +0000 (23:14 +0100)
committerMarco Trevisan (Treviño) <mail@3v1n0.net>
Fri, 5 Dec 2025 22:27:08 +0000 (23:27 +0100)
commit240aa910dc842098c843cad498572660aee0c66f
treecce98301f7179110612d8951aad60bbe3108d603
parent905fe781d17cb2e7405fd341b5ae1eba9c318596
environment: Ignore animation events after shutdown

As soon as the shutdown starts, any animation event does not make sense,
although during this phase the clutter timelines may still proceed and
potentially calling invalid code in their callbacks.

Prevent this from happening by disconnecting from any timeline signal
we are connected to as soon as the `shutdown` signal is emitted

Co-Authored-By: Florian Müllner <fmuellner@gnome.org>
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3996>
js/ui/environment.js